package com.sdry.mapper.y;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.sdry.model.y.Artificial;


public interface ArtificialMapper {
    Long addArtificial(Artificial artificial);
	
	Long updateArtificial(Artificial artificial);
	
	Long deleteArtificial(long id);
	
	List<Artificial> findArtificial(Map map);
	
	Long countArtificial(Map map);
	
	Long queryPostByName(String name);
	
	Long queryWareByName(String name);
	
	Long queryUserByNameAndNum(@Param("uname") String uname,@Param("num") String jnum);
	
	List<Artificial> queryArtificalByUid(@Param("uname") String uname,@Param("num") String jnum);
}
